package com.zy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-08 周五 22:33
 * @since 17
 */
@Controller
public class IndexController {
    @RequestMapping
    public String index(Model m) {
        m.addAttribute("msg", "success,恭喜你成功");
        return "index";
    }
}
